#ifndef COMMON_H
#define COMMON_H
/**
 * @author LIU YUAN
 * @date May 15, 2011 11:12:21 AM
 * @param <T>
 */
#include <stdio.h>


#ifdef LYLIB_EXPORTS
#define LYLIB_API __declspec(dllexport)
#else
#define LYLIB_API __declspec(dllimport)
#endif

#define alert(message) \
{ \
	CHAR cMessage[200]; \
    sprintf_s(cMessage,200,"File:%s,Line:%d %s",__FILE__,__LINE__,message); \
	MessageBoxA(NULL,cMessage,"warn",MB_OK); \
}

#define MAX_BUFFER 1024

#endif